Fixed database issue in FA task.
Need to look into this issue in more detail.
For now there is no crash for FA(Tested on penta)

Signed-off-by: Harman Sohanpal <harmansohanpal@gmail.com>